package cn.cxyxj.study02;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        return "你好 Spring Security";
    }

    @GetMapping("/hello3")
    public String hello3(){
        return "hello3 Spring Security";
    }

    @GetMapping("/hello2")
    public String hello2(){
        return "错误 Spring Security";
    }

    @GetMapping("/hello4")
    public String hello4(){
        return "错误 hello4 Spring Security";
    }
}
